package com.talos.ums.controller.admin.appversion.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 移动应用版本管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UmsAppVersionRespVO {

    @Schema(description = "自增id", requiredMode = Schema.RequiredMode.REQUIRED, example = "262")
    @ExcelProperty("自增id")
    private Long id;

    @Schema(description = "来源（司机端：otwb_tms_driver，站点端：otwb_tms_station）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("来源（司机端：otwb_tms_driver，站点端：otwb_tms_station）")
    private String source;

    @Schema(description = "类型（ios,android,ipad）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("类型（ios,android,ipad）")
    private String type;

    @Schema(description = "版本号")
    @ExcelProperty("版本号")
    private String versionNum;

    @Schema(description = "下载地址", example = "https://www.iocoder.cn")
    @ExcelProperty("下载地址")
    private String url;

    @Schema(description = "app提示语")
    @ExcelProperty("app提示语")
    private String tips;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "创建人工号")
    @ExcelProperty("创建人工号")
    private String creatorCode;

    @Schema(description = "创建人姓名", example = "李四")
    @ExcelProperty("创建人姓名")
    private String creatorName;

    @Schema(description = "修改时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("修改时间")
    private LocalDateTime modifyTime;

    @Schema(description = "修改人工号")
    @ExcelProperty("修改人工号")
    private String modifierCode;

    @Schema(description = "修改人姓名", example = "王五")
    @ExcelProperty("修改人姓名")
    private String modifierName;

    @Schema(description = "删除标记")
    @ExcelProperty("删除标记")
    private Integer deleted;

    @Schema(description = "租户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16306")
    @ExcelProperty("租户id")
    private Long tenantId;

}
